<%@page contentType="text/html;charset=UTF-8"%>
<%@include file="/common/taglibs.jsp"%>
<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>检测项目收费标准</title>
<script type="text/javascript">
	function overd(){
		window.location.href='${ctx}/contract/according!input.action?cid=${cid}'
	}
</script>
</head>
<body>
<form action="${ctx}/contract/inventor!save.action" method="post"
	class="yform" id="inputForm">
	<input name="cid" type="hidden" value="${cid}">
<div id="content">
<table class="contentTable">
	<c:set var="flag" scope="page"></c:set>
	<c:forEach items="${itemlistList}" var="itemlist" varStatus="status">
		<c:if test="${flag != itemlist.branchCode}">
			<c:set var="flag" scope="page">${itemlist.branchCode}</c:set>
			<tr class="type-title">
				<td colspan="6">${itemlist.branchName}</td>
			</tr>
			<tr class="">
				<td></td>
				<td>检测项目</td>
				<td>单价</td>
				<td></td>
				<td>检测项目</td>
				<td>单价</td>
			</tr>
			<tr>
		</c:if>
		<c:if test="${flag == itemlist.branchCode }">
			<td>${itemlist.checkCode}</td>
			<td>${itemlist.checkName}</td>
			<td>${itemlist.unitPrice}/${itemlist.units}</td>
			<c:if test="${status.count%2==0}">
				</tr>
			</c:if>
		</c:if>
	</c:forEach>
</table>
</div>
</form>
</body>
</html>